<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>我的个人资料</title>
		<jsp:include page="../common/resources.jsp"/>
		<link rel="stylesheet" href="${ctx}/css/userInfo.css"/>
		<link rel="stylesheet" href="${ctx}/css/editUserInfo.css"/>
		<link rel="stylesheet" href="${ctx}/css/page.css"/>
	</head>
<body>
<jsp:include page="../common/header.jsp"/>
<div class="main clearfix">
	<jsp:include page="../common/leftMenu.jsp"/>
	<iframe  class="content fl" src="" id="ifmContent" scrolling="no"  frameborder="0"></iframe>
</div>
<jsp:include page="../common/footer.jsp"/>
<jsp:include page="../common/jsResources.jsp"/>
<script type="text/javascript">
	$(function(){
		$(".menu-inner-rule").click(function(){
			var ifmSrc = $(this).attr('src');
			var ifm= document.getElementById("ifmContent");
			ifm.src =ifmSrc;
			
			$('.menu-inner-rule').each(function(){
				$(this).removeClass('menu-inner-rule-on');
			});
			$(this).addClass('menu-inner-rule-on');
		});	
		//默认先选择用户信息
		$("#userInfo").click();
		changeFrameHeight();
	});
	
	
	function changeFrameHeight(){
	    var ifm= document.getElementById("ifmContent"); 
	    ifm.height=document.documentElement.clientHeight;
	}
	
	window.onresize=function(){  
		changeFrameHeight();  
	} 
</script>
</body>
</html>